package com.jobs.common.enums;

import lombok.Data;

/**
 * @author xdh
 */
public enum ExchangeTypeEnum {
    DIRECT("direct","Rout 路由模式"),
    FANOUT("fanout","Publish/Subscribe 发布订阅"),
    HEADERS("headers","政府监管平台"),
    TOPIC("topic","其他"),
    X_DELAYED_MESSAGE("x-delayed-message","其他");

    private String hex;

    public String getHex() {
        return hex;
    }

    public void setHex(String hex) {
        this.hex = hex;
    }

    private String  describe;

    ExchangeTypeEnum(String hex, String  describe) {
        this.hex = hex;
        this.describe = describe;
    }

}
